package pages;

import org.openqa.selenium.WebDriver;
import selenium.WebDriverWrapper;

/**
 * Created by sergey on 04.07.2014.
 */
public abstract class BasePage {
    protected String URL = "http://rozetka.com.ua/";
    protected WebDriverWrapper driver;

    public BasePage(WebDriverWrapper driver){
        this.driver = driver;

    }

    public void Open(){
        driver.get(URL);
    }
    public boolean isOpened(){
        return driver.getCurrentUrl().equals(URL);
    };

}
